Header Ads Widget

Block Website On Computer,Mobile And Network

Block Website
Block Website


There are several reasons why you might want to block websites on your computer. Some websites could be spreading viruses, contain explicit content or even be trying to steal your personal data. While you may well be more than capable of avoiding these websites, but that doesn't stand true for every one who uses your device. In such cases, it might be best to block certain websites.

There are different ways to go about blocking websites. You can choose to block websites only on specific browsers, the entire operating system, or indeed your network router. Here's how to block websites.

Topic Covered:

Block Websites On Your Pc
Selectively Block Websites Based On User Or Time Of Day
Make Backup Of Hosts .Text
Block Website On Your Mac
Block Website On Your Iphone And Ipad
Block Website On Your Android Phone
Block Website On Windows Phone
Block Website On Your Network
Block Website Video Tutorial In Hindi



Block all users of a Windows PC from opening certain websites—no matter what browser they use

Want to block all users of a Windows PC from opening certain websites, regardless of the browser they use or the time of day? You need only make a few simple additions to the Windows hosts file. This method is straightforward and free, and it doesn’t require you to download or install any additional software. It’s an effective method for restricting users of all ages from seeing the content you don’t want them to access.

Block Websites On Your Pc

If you want to control access to websites on just one machine, then you can set up block at the operating system level. This method for blocking websites is not too hard to configure and will work across browsers

Steps:

1. Open Windows Explorer and navigate to C:\Windows\System32\drivers\etc. (If Windows is not installed on C:, substitute the appropriate drive letter.)

2. Double-click hosts, and select Notepad when Windows prompts you to choose a program. If you don’t get the prompt, or if the hosts file opens in another program, open Notepad (Start, All Programs, Accessories, Notepad), and then navigate to hosts by clicking File, Open within Notepad.

3. Place the cursor at the end of the last line, which will say something such as “127.0.0.1 localhost” or “::1 localhost”. Press Enter to create a new line.

 

4. Type 127.0.0.1, tap the spacebar once, and then type the address of a website you want to block. For example, to block all traffic from YouTube, type 127.0.0.1 www.youtube.com on this line.

Hosts File
Hosts File

5. Continue to add the websites you wish to block, each prefaced with 127.0.0.1 and a space.

6. Click File, Save to commit to your changes. Dismiss any warnings from antimalware software, which may be triggered by your editing of the hosts file.

7. Close any open browser windows, and then reopen a browser to test your edits. The blocked sites should not display in any browser.

 

Selectively Block Websites Based On User Or Time Of Day

If blocking a site from all users at all times is overkill for your situation and you want more control, try using your router’s web interface to block a website selectively.

Steps:

  1. Open a browser and enter your router’s IP address into the address bar. Refer to your router’s documentation for the IP address, or, if you don’t immediately know it, try a common address such as http://192.168.1.1, http://192.168.0.1, or http://192.168.2.1.
  2. Enter your username and password. If you haven’t changed the username and password, and you don’t know the defaults, visit Port Forward’s Default Router Passwords page to find them.
  3. Browse to the section where you can block websites, computers, and access during certain times of day. Router interfaces vary, but look for a section with a name such as “Access Restrictions.”
  4. Enter the details of the content and the users you’d like to restrict, and save your changes. Your router’s paper or electronic documentation should provide full instructions.

Remember to exercise caution when editing your hosts text file, and always make sure to back up files before you edit them.

 

Make Backup Of Hosts

Why Do We Need Hosts Backup         

If you crypt your hosts file then you will face some problem in computer to prevent that problem you need hosts file and that time it will help you that buck up taking buck up all time of when you change windows default file in computer and it is good habit . Below is written

How you can buck up of your host file follow carefully

Steps:

  1. Open File Manager (This Pc) of your computer if you are using windows 8/ 8.1/ 7/ Xp then open My Computer open
  2. Then Open your C: Drive (In Which Your Windows is installed most of chance It can be C: in your computer also)
  3. Then go to this Location is written their (C:\Windows\System32\drivers\etc) and search for hosts file
  4. If you found hosts .text file then create an another copy of hosts .text file in your computer at another drive for back up

 

Block Website On Your Mac

Here's how to block websites on OS X

Steps:

  1. Make sure you have administrator access to your Mac. Now open Terminal. You can find it under /Applications/Utilities/Terminal.
  2. Type sudo nano /etc/hosts and press enter. Enter the user (login) password when prompted.
  3. This will open the file /etc/hosts in a text editor. Type the name of the website in a new line in this format "127.0.0.1 www.blockedwebsite.com" (minus the quotes). For each website you want to block, start a new line and type the same command with only the name of the website being replaced. When done, press ctrl+x and then Y to save changes.
  4. Now key in the command sudo dscacheutil -flushcache and press Enter or restart your machine to make sure the websites are blocked.


Block Website On Browser Level

Blocking a website on any browser is the easiest way to get the job done.

On Firefox, you can install an add-on called Block Site to block website

Steps:

1.Install the add-on, press ctrl+shift+a, and click Extensions on the left. Now click Options under BlockSite. In the pop-up, click Add and type the name of the website you want blocked. Repeat the process for all websites you don't want to access. Click OK.

2.Now these websites will be blocked on Firefox. You can also set a password in BlockSite to prevent others from editing the list of blocked websites. This can be done via the options menu described in the previous step.

BlockSite is also available on Google Chrome 

Internet Explorer lets you block websites easily. Here's how.

3.Open the browser and go to Tools (alt+x) > Internet Options. Now click the security tab and then click the red Restricted sites icon. Click the Sites button below the icon.

4.Now in the pop-up, manually type the websites you want to block one-by-one. Click Add after typing the name of each site. When done, click Close and click OK in all other windows. Now these websites will be blocked in Internet Explorer.

Block Website On Your iPhone and iPad

Apple has some handy parental control tools that let you block certain websites. Here's how.

  1. Go to Settings > General > Restrictions.
  2. Tap on Enable Restrictions. Now set a passcode for restrictions. This should ideally be different from the passcode you use to unlock the phone.
  3. After the passcode is set, scroll down and tap Websites. Here you can either choose to limit adult content, or allow access to specific websites only.
  4. In specific websites only, there's a short list of allowed websites including Discovery Kids and Disney, but you can also add sites by tapping on Add a Website.
  5. If you tap Limit adult content, Apple blocks websites that are deemed objectionable, but you can whitelist websites by tapping on Add a Website under Always Allow, or blacklist them by tapping on it under Never Allow.
  6. If you try to access a blocked website, you see a message telling you it is restricted. Tap the Allow Website and key in the Restrictions passcode to open that website.

 

iphone
RedCafe

Block Website On Your Android Phone

On Android, there are a couple of different things you can do. If you have a rooted phone, you can block websites by editing the hosts file on your device to redirect sites you want to block. You'll need a file manager, and a text editor - the easiest option is to use our favourite app ES File Explorer, which lets you do both things. Here's how it works.

Steps:

  1. Install ES File Explorer.  Open ES File Explorer and tap the menu button at the top left. Tap on Local > Device > system > etc.
  2. In this folder, you'll see the file named hosts - tap it and in the pop up menu, tap text. In the next pop up, tap ES Note Editor.
  3. Tap the edit button in the top bar.
  4. Now, you're editing the file, and to block sites, you want to redirect their DNS. To do this, just start a new line, and type "127.0.0.1 www.blockedwebsite.com" (without the quotes, where blocked website is the name of the site you're blocking) for each website you want to block. For example, you'll have to type 127.0.0.1 www.google.com to block Google.
  5. Reboot your Android device.
  6. If that method is too complex for you, you can install an anti-virus app such as Trend Micro that lets you block websites.
  7. Install the app and run it. Go to Options > Safe surfing.
  8. Now swipe to Parental Controls and click set up account. Create an account and you'll see an option called Blocked List in the app. Tap it, and tap Add. Now add the websites you want to block one at a time. Once that is done, you won't be able to access these websites on your Android smartphone.

 

Block Website On Windows Phone

You can't do a full block of websites on Windows Phone, buy you can download the AVG Family Safety browser.  By default it blocks websites with malicious or explicit content, and if you purchase an AVG anti-virus licence and create an account, you can customise the list of blocked websites.

Block Website On Your Network

If you have a Wi-Fi network in the house, then it is easier to just set up a block on unwanted websites via your Wi-Fi router. Most routers don't have very user friendly interfaces, so this can be a little daunting, and of course, the steps can vary for each router, but the basic process you follow is pretty similar, so if you're just a little patient, this is actually pretty easy.

Changing the wrong setting could accidentally de-activate your connection, so if you get stuck, call your ISP right away.

We tried this on a Beetel 450TC1 router provided by MTNL in Delhi, and with a Binatone Router provided by Airtel. The steps were exactly the same for both. To start, you need to go to your router's settings. Open any browser and type 192.168.1.1 in the address bar. Press Enter. Some routers use a different address, so if this doesn't work, check and see if it is mentioned in the documentation from your ISP.

Now you will have to enter a username and password. This would have been set up during the installation of your connection - defaults are usually username: admin, and password: password. If not, check with your ISP and get the correct username and password.

As mentioned earlier, the interface can differ. In our MTNL router, we found that we could block websites under Access Management > Filter.

Here there's a drop-down menu called Filter type selection. We selected URL Filter and typed the website we wanted to block in the URL field below. Above this field, there is an option called Active. Here we saw two buttons, Yes and No. We selected Yes and hit Save. This blocked the website on our network.

You can create 16 lists of blocked websites, each containing 16 websites, using this method, letting you block up to 256 websites. Again, this will vary from router or router.

This guide should have helped you block websites on almost any device. If you know any other methods to block sites, let us know via the comments. For more tutorials, visit our YouTube Channel www.youtube.com/c/TechSolutionIndia

 

 

Post a Comment

2 Comments

Please Share our blog if you like it